<template>
  <div id="app">
    <Nav/>
    <Head/>
    <router-view />
  </div>
</template>

<script>
import Nav from "@/views/nav";
import Head from "./components/head";
export default {
  name: "App",
  components: {
    Nav,
    Head
  },
  beforeCreate() {
    this.$store.dispatch("getProduct");
  }
};
</script>

<style>
#app {
  font-family: "Avenir", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  height: 100vh;
  overflow: hidden;
}

</style>
